package com.study.talk.app.register;



import android.os.Bundle;

import androidx.appcompat.app.AppCompatActivity;

import com.study.talk.databinding.ActivityRegisterUserBinding;
import com.study.talk.util.alert.AlertUtil;


public class RegisterUser extends AppCompatActivity {


    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        ActivityRegisterUserBinding activityRegisterUserBinding = ActivityRegisterUserBinding.inflate(getLayoutInflater());
        setContentView(activityRegisterUserBinding.getRoot());
        setSupportActionBar(activityRegisterUserBinding.registerToolbar);
        activityRegisterUserBinding.registerToolbar.setNavigationOnClickListener(v -> {
            AlertUtil.showAllAction(this,"操作提醒","确定退出注册吗",b -> {
                if (b) finish();
            });
        });
    }
}